package com.wx.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wx.dao.SysRoleMenuMapper;
import com.wx.entity.SysRoleMenu;
import com.wx.entity.SysRoleMenuExample;
import com.wx.service.SysRoleMenuService;
import com.zyht.common.BaseDao;
import com.zyht.common.BaseServiceImpl;


@Service("sysRoleMenuService")
public class SysRoleMenuServiceImpl extends BaseServiceImpl<SysRoleMenu, SysRoleMenuExample> implements SysRoleMenuService {

	@Resource
	private SysRoleMenuMapper sysRoleMenuMapper;
	
	@Override
	public BaseDao<SysRoleMenu, SysRoleMenuExample> dao(){

		return this.sysRoleMenuMapper;
	}

	@Override
	public Integer addMore(List<SysRoleMenu> list){

		return this.sysRoleMenuMapper.insertBatch(list);
	}


}
